<html>
	<head>
		<wicket:head>
		<style type="text/css">
			.courseTable td{
				text-align:left;
				border:none;
			}
			
			.courseTable th{
				text-align:left;
				color:black;
				background-color:white;
			}
			
			.courseTable table{
				border-bottom:1px solid #deddef;
				margin-bottom:10px;
				margin:10px;
			}
		</style>
		</wicket:head>
	</head>
	
	<body>
		<wicket:extend>
			<div style="width:800px;border:1px solid black;padding:20px;margin:20px;">
				<div class="es-deptBanner" style="padding-bottom:15px;width:100%;border-bottom: 1px solid #dddddd;">
					<div style="width:90px;padding:2px 10px; background-color:#0100FB; color:#FFFFFF" class="es-softCornerAll">
						Academic Program
					</div>
					<h2 style="padding-bottom:5px;" wicket:id="currName">
						New Academic Program
					</h2>
					<div>Offered by 
						<span wicket:id="ownerLink"></span>
					</div>
				</div>
				
				<div style="font-size:18px;padding:15px;font-style=bold;text-align:center;">
					Academic Program Summary
				</div>	
				<table style="width:600px;margin-left:auto;margin-right:auto;">
					<tr>
						<td style="text-align:right;" width="33%">Name of the academic program</td>
						<td width="67%" style="text-align:left;" wicket:id="currName2">
								B. Tech in Electrical Engineering
						</td>
					</tr>
					<tr>
						<td style="text-align:right;" width="33%">Department</td>
						<td width="67%" style="text-align:left;">									
							<span wicket:id="ownerDept"></span>
						</td>
					</tr>
					<tr>
						<td style="text-align:right;" width="33%">Number of semesters</td>
						<td width="67%" style="text-align:left;" wicket:id="semNo">
							8
						</td>						
					</tr>
					<tr wicket:id="credits">
						<td style="text-align:right;" width="33%">Total Program Credits</td>
						<td width="67%" style="text-align:left;" wicket:id="credits">
							8
						</td>						
					</tr>
					<tr wicket:id="minCredits">
						<td style="text-align:right;" width="33%">Minimum Program Credits</td>
						<td width="67%" style="text-align:left;" wicket:id="credits">
							8
						</td>						
					</tr>
					<tr wicket:id="maxCredits">
						<td style="text-align:right;" width="33%">Maximum Program Credits</td>
						<td width="67%" style="text-align:left;" wicket:id="credits">
							8
						</td>						
					</tr>
					<tr>
						<td style="text-align:right;" width="33%">Program Description</td>
						<td width="67%" style="text-align:left;">
							<p wicket:id="courseDesc">
							</p>
						</td>
					</tr>
				</table>	
				<div class="courseTable" style="margin-top:25px;">
					<h3 style="padding-bottom:15px;border-bottom: 1px solid #deddef;margin-top:20px;">
						Course Summary
					</h3>
					
					<div class="cf-semInfo" wicket:id="semesterRepeatingView">
		            	<div class="cf-semTitle">
							Semester <span wicket:id="semNo">1</span>
		                	&nbsp;&nbsp;<a wicket:id="editProgramLink" href="#">[EDIT]</a>
						</div>
		                <table class="cf-courses">
							<tr>
								<th colspan="2" width="200px" style="float:left;padding-bottom:5px;">
									Mandatory Courses:
								</th>
							</tr>
							<tr wicket:id="rows">
		                    	<td width="200px" wicket:id="cols">
		                    		<span wicket:id="courseLink">
		                    		</span><span wicket:id="credit"></span>
		                    	</td>                    
		                    </tr>                    
						</table>
                		<hr/>
                		<div wicket:id="optionalCoursesRepeatingView"></div>
                		<div style="margin:3px 15px; border-top:1px solid black; padding:3px 10px;">
                			<div wicket:id="totalCourseCredits"></div>
                			<div wicket:id="minCourseCredits"></div>
                			<div wicket:id="maxCourseCredits"></div>
                		</div>
					</div>
				</div>
				
				
				<div style="clear:both"></div>
				<form style="width:150px;margin-left:auto;margin-right:auto;" wicket:id="dummyForm">
					<button type="submit" wicket:id="finished" class="es-button ui-state-default ui-corner-all">
						Finished Reviewing
					</button>
				</form>		
				
				<div style="margin-top:15px;width:100%;border-top:1px solid black;padding:5px;">
					*Course description is of the form (Course Credits, Lecture Hours-Lab Hours-Tutorial Hours). 
				</div>					
			</div>		
			
			<wicket:fragment wicket:id="optionalCoursesFragment">
				<table class="cf-courses">
	        		<tr><th style="float:left;padding-bottom:5px;" wicket:id="optString">Elective Courses:</th></tr>
		            <tr wicket:id="rows">
		            	<td wicket:id="cols">
		            		<span wicket:id="slotNo">Choices for elective 1</span>
			                <ol>
			                	<li wicket:id="courseList">
			                		<span wicket:id="course"></span> 
			                		<span wicket:id="credits"></span>
			                	</li>
			                </ol>
		                </td>
					</tr>
				</table>
			</wicket:fragment>
		</wicket:extend>
	</body>
</html>